home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2993 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.1 KB  |  29 lines

  1. Path: oreig.uji.es!ii202
  2. From: ii202@rossegat.uji.es (Jorge Acereda Macia)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: ds.l
  5. Date: 7 Feb 1996 18:19:16 GMT
  6. Organization: Universitat Jaume I. Castell≤ de la Plana. Spain
  7. Message-ID: <4faqf4$39b@oreig.uji.es>
  8. References: <497.6609T1129T586@mbox3.swipnet.se>
  9. NNTP-Posting-Host: @rossegat.uji.es
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. Patrik Nilsson (patrik.nilsson@mbox3.swipnet.se) wrote:
  13. > When using FileInfoBlock it must be long word aligned.
  14. > Q: In asm you have 'ds.l'. Is there any equal in C?
  15.  
  16. IMHO dynamic memory is longword aligned.
  17.  
  18. For static memory, reserve bytesneeded+3 bytes, get a pointer to the
  19. reserved position and AND it with 0xfffffffc
  20.  
  21. Greets,
  22. --
  23.  ---------------------------- --------------------------------------------
  24. |       Jorge Acereda        |      Dream the same thing everynight       |
  25. |   ii202@rossegat.uji.es    |       I see our freedom in my sight        |
  26. |       Intel Outside        |     No locked doors, no windows barred     |
  27. |        Amiga Rules         |   No things to make my brain seem scarred  |
  28.  ---------------------------- --------------------------------------------
  29.